package com.power.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * 登录的策略
 */
public interface LoginStrategy {
    /**
     * 登录方法
     * @param username
     * @return
     */
    UserDetails realLogin(String username);
}
